package com.reform.service;

import com.reform.pojo.project.SimplifyProjectInfo;
import com.reform.pojo.project.ViewProjectMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reform.res.Result;

import javax.servlet.http.HttpServletRequest;
import java.sql.SQLException;
import java.util.List;

/**
 * <p>
 * VIEW 服务类
 * </p>
 *
 * @author mortale
 * @since 2021-10-18
 */
public interface IViewProjectMemberService extends IService<ViewProjectMember> {

    /**
     * 获取当前所有非暂存的项目信息（只有主持人）
     * @return
     */
    Result getAllTemporaryProject();

    /**
     * 根据教师信息获取指定学院的非暂存项目信息
     * @param request
     * @return
     */
    Result getNotTemporaryProject(HttpServletRequest request) throws SQLException;

    List<SimplifyProjectInfo> getSimplifyProjectByPhaseId(String phaseId);
}
